Techniques for modifying a compute instance

ABSTRACT

Systems, devices, and methods discussed herein are directed to modifying aspects of a compute instance. A user may request a change to the compute instance. The system may derive a state object indicating a future state of the compute instance were the change to be applied. A hash of a subset of the state object&#39;s attributes may be computed and provided to the requesting computing component. The system may subsequently proceed with applying the change. A current state object indicating a current state of the compute instance may be derived based on applying the change. An additional hash of the subset of the current state object&#39;s attributes may be computed and provided to the requesting computing component. The two hashes may be configured to enable the requesting computing component to verify the change to the compute instance has been implemented.

CROSS-REFERENCED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No.17/125,802, entitled “TECHNIQUES FOR MODIFYING A COMPUTE INSTANCE,”filed Dec. 17, 2020, the entirety of which is incorporated by referencefor all purposes.

BACKGROUND

Cloud computing providers may manage many compute instances on behalf ofa variety of users. Typically, a user may not modify aspects of thosecomputing instances. Additionally, it can be difficult to ascertain whena change to a compute instance has converged. Embodiments describedherein address these and other problems, individually and collectively.

BRIEF SUMMARY

Techniques are provided (e.g., a method, a system, non-transitorycomputer-readable medium storing code or instructions executable by oneor more processors) for modifying aspects of a compute instance that ismanaged by a cloud computing infrastructure (CII) provider. Variousembodiments are described herein, including methods, systems,non-transitory computer-readable storage media storing programs, code,or instructions executable by one or more processors, and the like.

One embodiment is directed to a method. The method may comprisemanaging, by a computing system, a compute instance of a cloud computingenvironment based at least in part on management of a first state objectcorresponding to the compute instance. In some embodiments, the firststate object comprises a set of attributes indicating a current state ofthe compute instance. The method may further comprise receiving, by thecomputing system from a requesting computing component, change requestdata indicating a requested change to a particular attribute of thecompute instance. The method may further comprise deriving, by thecomputing system, a second state object of the compute instance based atleast in part on the requested change and the first state objectindicating the current state of the compute instance. The method mayfurther comprise calculating, by the computing system, a first hashvalue based at least in part on a first subset of attributes of a set ofattributes of the second state object. The method may further compriseproviding, by the computing system to the requesting computingcomponent, the first hash value. The method may further compriseexecuting, by the computing system, the requested change to the computeinstance. The method may further comprise updating, by the computingsystem, the first state object based at least in part on executing therequested change to the compute instance. The method may furthercomprise calculating, by the computing system, a second hash value basedat least in part on a second subset of the set of attributes of thefirst state object. The method may further comprise providing, by thecomputing system, the second hash value to the requesting computingcomponent. In some embodiments, the first hash value and the second hashvalue are configured to be utilized by the requesting computingcomponent to verify that the requested change has been implemented atthe compute instance.

Another embodiment is directed to a computing device. The computingdevice may comprise a computer-readable medium storing non-transitorycomputer-executable program instructions. The computing device mayfurther comprise a processing device communicatively coupled to thecomputer-readable medium for executing the non-transitorycomputer-executable program instructions. Executing the non-transitorycomputer-executable program instructions with the processing devicecauses the computing device to perform the method above.

Yet another embodiment is directed to a non-transitory computer-readablestorage medium storing computer-executable program instructions that,when executed by a processing device of a computing device, cause thecomputing device to perform the method above.

The foregoing, together with other features and embodiments will becomemore apparent upon referring to the following specification, claims, andaccompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments in accordance with the present disclosure will bedescribed with reference to the drawings, in which:

FIG. 1 illustrates an example environment in which the disclosedtechniques for modifying a compute instance may be implemented,according to at least one embodiment;

FIG. 2 is a flow diagram illustrating an example method for deriving ahash value representing a requested change to a compute instance,according to at least one embodiment.

FIG. 3 illustrates an example current state object, according to atleast one embodiment;

FIG. 4 illustrates an example desired state object, according to atleast one embodiment;

FIG. 5 is a flow diagram illustrating an example method for applying arequested change to a compute instance, according to at least oneembodiment.

FIG. 6 is a flow diagram illustrating an example method for identifyingthat a previously-requested change has been made to a compute instance,according to at least one embodiment.

FIG. 7 depicts a flowchart illustrating an example of a method formodifying an attribute of a compute instance, according to at least oneembodiment.

FIG. 8 is a block diagram illustrating one pattern for implementing acloud infrastructure as a service system, according to at least oneembodiment.

FIG. 9 is a block diagram illustrating another pattern for implementinga cloud infrastructure as a service system, according to at least oneembodiment.

FIG. 10 is a block diagram illustrating another pattern for implementinga cloud infrastructure as a service system, according to at least oneembodiment.

FIG. 11 is a block diagram illustrating another pattern for implementinga cloud infrastructure as a service system, according to at least oneembodiment.

FIG. 12 is a block diagram illustrating an example computer system,according to at least one embodiment.

DETAILED DESCRIPTION

In the following description, for the purposes of explanation, specificdetails are set forth in order to provide a thorough understanding ofcertain embodiments. However, it will be apparent that variousembodiments may be practiced without these specific details. The figuresand description are not intended to be restrictive. The word “exemplary”is used herein to mean “serving as an example, instance, orillustration.” Any embodiment or design described herein as “exemplary”is not necessarily to be construed as preferred or advantageous overother embodiments or designs.

The present disclosure relates to a system and techniques for enablinguser modification of a compute instance managed by one or morecloud-computing provider computers (referred to herein as “cloudcomputing computer(s)” for brevity). A user may wish to change someaspect of a compute instance. By way of example, the user may wish torequest a name change for a component of a compute instance.Accordingly, the user may submit, via an application programminginterface exposed by the cloud computing computer(s), a request tomodify an attribute of the compute instance (e.g., an attributecorresponding to the name of a component of the compute instance). Thecloud computing computer(s) may receive the request and retrieve acurrent state of the compute instance. The current state of the computeinstance may be maintained in a state object (referred to as a “currentstate object”). The cloud computing computer(s) may compute a futurestate of the compute instance should the change be implemented. By wayof example, the state object may be copied and its attributes may bemodified in accordance with the request change. These modified set ofattributes may be stored as a separate state object (referred to as a“requested state object”) for subsequent use.

Each compute instance may be associated with any suitable number ofattributes. These attributes may include an image version running on theinstance (e.g., an image version corresponding to an operating system, asoftware package, a default configuration, or the like), a number ofcentral processing units (CPUs), an amount of memory allocated to thehost, an expiration time of one or more security tokens, an addressindicating which compute instance to use, and the like. Althoughexamples herein discuss a user's modification of a component name, itshould be appreciated that the examples equally apply to other changesthe user may request. These changes requested by the user may relate toone or more modifications of any suitable combination of attributesassociated with the compute instance.

A hash value may be calculated from a subset of the set of attributes ofthe requested state object. The particular set of attributes hashed maybe predefined and vary depending on the requestor (or the computingcomponent utilized to initiate the change request). It may be the casethat different users may be interested in different aspects of thecompute instance. Thus, a hash value computed for one user may utilize adifferent set of attributes/data fields of the object then a set ofattributes/data fields of the object used for computing a hash foranother user.

The hash value (e.g., a hash value corresponding to the requestedchange) may be provided to a component that provided the change request(e.g., a requesting computing component) and stored for subsequentverification. Periodically, the current state object of the computeinstance may be retrieved and a hash value corresponding to the currentstate of the compute instances may be computed from that object andprovided to the requesting computing component. The hash values may beutilized by the requesting computing component to determine that therequested change has been applied to the compute instance. By way ofexample, the requesting computing component may compare the hash valuecorresponding to the requested change and the hash value correspondingto the current state of the compute instance. If the hash values match,the requesting computing component may be configured to determine thatthe requested change has been applied to the compute instance.

The disclosed techniques provide improvements over conventional systems.Conventional systems may restrict user's from modifying aspects of acompute instance and/or it may be difficult to ascertain when aparticular change has been made to a compute instance. By utilizing thetechniques described herein, the requesting computing component need notcompare attributes of the requested state object to those of the stateobject that maintains the current state of the compute instance. Rather,the requesting computing component need only compare two hash values toascertain whether the requested change has been implemented. Amanagement plane of the cloud-computing provider computer(s) can beutilized to enact the requested change, update the current state of thecompute instance, and calculate the hash values. In this manner,although the particular attributes associated with a requestingcomputing component and/or the exact implementation may change in themanagement plane, the requesting computing component (e.g., a controlplane of the cloud-computing provider computer(s)) need not be modified.By maintaining the logic corresponding to modifying compute instancesand calculating hash values in the management plane, the implementationof the requesting computing component (e.g., the control plane of thecomputing system) is greatly simplified and decoupled from changes madeto the management plane.

Moving on to FIG. 1 , which illustrates an example environment 100 inwhich the disclosed techniques for modifying a compute instance may beimplemented, according to at least one embodiment. Environment 100 mayinclude cloud infrastructure system 102 that is configured to manage, onbehalf of a user, one or more infrastructure components (e.g.,infrastructure component(s) 104). A cloud-computing provider can hostthe cloud-computing environment 102 which provides infrastructurecomponent(s) 104 (e.g., servers, storage devices, network nodes (e.g.,hardware), deployment software, platform virtualization (e.g., ahypervisor layer), or the like). The one or more infrastructurecomponents may include any suitable number of compute instances that areconfigured to provide a particular infrastructure component. A computeinstance may include one or more bare metal compute instances thatprovides dedicate physical server access for high performance and strongisolation and/or one or more virtual machines. A virtual machine is anindependent computing environment that runs on top of physical baremetal hardware. The infrastructure component(s) 104 may be configured toprovide computing resources to any suitable number of users. In someembodiments, the cloud-computing provider may also supply a variety ofservices to accompany those infrastructure components (e.g., billing,monitoring, logging, security, load balancing and clustering, etc.).Thus, as these services may be policy-driven, users may be able toimplement policies to drive load balancing to maintain applicationavailability and performance.

In some instances, user device 106 may be utilized to access (e.g., viauser interface 108) resources and services of the cloud infrastructuresystem 102. The user device 106 may be any suitable type of computingdevice such as, but not limited to, a mobile phone, a hand-held scanner,a touch screen device, a smartphone, a personal digital assistant (PDA),a laptop computer, a desktop computer, a thin-client device, a tabletPC, or the like. In some examples, the user device 106 may be incommunication with the cloud infrastructure system 102 via thenetwork(s) 110, or via other network connections. In some examples, thenetwork(s) 110 may include any one or a combination of many differenttypes of networks, such as cable networks, the Internet, wirelessnetworks, cellular networks, and other private and/or public networks.The user device 106 can be utilized to invoke functionality of the cloudinfrastructure system 102 to create virtual machines (VMs) (e.g.,compute instances), install operating systems (OSs) in the VMs, deploymiddleware, such as databases, create storage buckets for workloads andbackups, and/or install enterprise software onto that VM. User device106 may further be utilized to request provider's services to performvarious functions, including balancing network traffic, troubleshootingapplication issues, monitoring performance, managing disaster recovery,etc.

The cloud infrastructure system 102 may include a control plane 112 anda data plane 114. In some embodiments, the control plane 112 may exposeone or more application programming interfaces with which thefunctionality of the cloud infrastructure system 102 may be invoked(e.g., by the user device 106). The control plane 112 may be configuredto receive requests (e.g., from user device 106) and, in response tothose requests, provide data to the data plane 114 for performingoperations corresponding to those requests. In some embodiments, thecontrol plane 112 may be configured to provide status updates to userdevice 106 regarding status of one or more requests initiated by userdevice 106. Some of the requests received by the control plane 112 mayrequest modification to existing infrastructure component(s) 104.

The cloud infrastructure system 102 may include data plane 114. In someembodiments, the data plane 114 may be configured to perform anysuitable operations for provisioning, deploying, and maintaining theinfrastructure component(s) 104 according to the requests provided bythe control plane 112. In some embodiments, data plane 114 may utilizeone or more computing processes (e.g., worker(s) 116) to perform variousoperations related to provisioning infrastructure component(s) 104,deploying software artifacts to the infrastructure component(s) 104,modifying aspects of the infrastructure component(s) 104, or the like.

The data plane 114 may be configured to maintain state objectscorresponding to a current state of each of the infrastructurecomponent(s) 104. These state object may be periodically updated by themonitoring service 120 on change, according to a predefined periodicity,according to a schedule, or at any suitable time. In some embodiment,the data plane 114 may maintain additional state objects eachcorresponding to requested change submitted for a given infrastructurecomponent. These additional state object may be referred to herein as“desired state objects”. Examples of current state objects and desiredstate objects are provided in connection with FIGS. 3 and 4 ,respectively. In some embodiments, these objects may be stored in stateinformation data store 118.

The data plane 114 may, at any suitable time, calculate a hash of one ormore attributes of a state object. The particular attributes used tocalculate a hash may, in some embodiments, depend on the requestorand/or the requesting computing component that requested a change in theinfrastructure component. In some embodiments, the data plane 114 may beconfigured with a mapping that identify a corresponding set ofattributes from a state object that are to be utilized to calculate ahash value for a particular requestor/requesting computing component.The data plane 114 may compute hash values corresponding to a desiredstate and a current state of the infrastructure component. By way ofexample, the data plane 114 may maintain attributes corresponding to acurrent state of an infrastructure in a current state object stored instate information data store 118. The data plane 114 may retrieve thecurrent state object and modify its attributes according to a requestedchange received from the control plane 112 (and, in some embodiments,initiated from the user device 106). The data plane 114 may calculate ahash value corresponding to the desired state and provide this hashvalue to the control plane 112, which in turn may store the hash valuefor subsequent use. The control plane 112 may be configured to requestthe current state hash value from the data plane 114 according to apredefined periodicity and/or schedule.

The data plane 114 may be configured to instantiate and/or taskworker(s) 116 with executing operations for applying a requested changeto a given infrastructure component. In some embodiments, the data plane114 may store data corresponding to various tasks associated withmanaging and/or modifying the infrastructure component(s) 104 in stateinformation data store 118 (or another suitable location). The worker(s)116 may be configured to retrieve this data sequentially (e.g., in theorder in which the data was stored) and execute any suitable operationsfor performing the task (e.g., modifying an attribute of aninfrastructure component). The monitoring service 120 may monitor thestate of an infrastructure component and, upon determining a change hasoccurred, may update a current state object corresponding to the currentstate of that infrastructure component. This updated object may continueto be stored in the state information data store 118. The monitoringservice 120 may invoke functionality of the data plane 114, and/or themonitoring service 120 may be configured, to calculate a hash valuecorresponding to the current state object as modified by the requestedchange. The hash values calculated by the data plane 114 and/orcomponents of the data plane 114 (e.g., the monitoring service 120) maybe provided to the control plane 112 at any suitable time (e.g.,immediately, or upon the next request received from the control plane112 for a current state hash value). The control plane 112 may beconfigured to perform reconciliation operations such as comparing thedesired state hash value provided earlier to each current state hashvalue obtained from the data plane 114. When the control plane 112determines that the desired state hash value and the current state hashvalue match, it may be configured to provide status data to the userdevice 106 via the user interface 108 that indicates the requestedchange has been completed. In some embodiments, once a requested changeis completed, the data plane 114 (or a component of the data plane 114such as worker(s) 116 may perform operations to delete any datapertaining to the requested change, while the current state objectpersists in the state information data store 118 continuing to beupdated by the monitoring service 120 over time.

FIG. 2 is a flow diagram illustrating an example method 200 for derivinga hash value representing a requested change to a compute instance,according to at least one embodiment. The method 200 may be performed byuser device 202 (e.g., the user device 106 of FIG. 1 ), control plane204 (e.g., the control plane 112 of FIG. 1 ), data plane 206 (e.g., thedata plane 114 of FIG. 1 ), and state information data store 208 (e.g.,the state information data store 118 of FIG. 1 ). The method 200 mayinclude more or fewer operations that those illustrated in FIG. 2 .These operations may be performed in any suitable order. In someembodiments, one or more operations performed by a multiple componentsmay be performed by a single component and/or operations performed by asingle component may be split and provided by multiple components.

The method 200 may begin at 210, where the user device 202 may initiate(e.g., via a user interface such as the user interface 108 of FIG. 1 ) arequest to modify an aspect of an existing infrastructure component. Byway of example, the user device 202 may be utilized to initiate arequest (e.g., a change request) to modify a component name (or anotherattribute such as image version, number of CPUs, amount of memory, anexpiration time corresponding to one or more security tokens, anaddress, etc.) of a particular infrastructure component. The changerequest may include any suitable data such as an identifier of the userdevice 202 and/or an entity (e.g., a user) associated with the userdevice 202, any suitable data for indicating the requested change(s),and any suitable data that indicates the infrastructure component(s)(e.g., one or more of the infrastructure component(s) 104 of FIG. 1 ) towhich the change request applies.

At 212, the control plane 204 may utilize any suitable applicationprogramming interface exposed by the data plane 206 to pass the changerequest to the data plane 206. At 214, in response to receiving thechange request, the data plane 206 may be configured to obtain a stateobject from the state information data store 208 corresponding to theinfrastructure component(s) identified in the change request. Forillustrative purposes, an example change request may indicate a change(e.g., a name change, image version change, a change to the number ofCPUs, a change to the amount of memory, a change to an expiration time,an address change, or the like) for a single infrastructure component.In this example, the state object that is used by the data plane 206 tomaintain current state attributes associated with that infrastructurecomponent may be obtained from the state information data store 208. Insome embodiments, an identifier for the infrastructure component may beobtained from the change request and utilized to retrieve acorresponding state object from the state information data store 208.

FIG. 3 illustrates an example current state object (e.g., current stateobject 300, a state object that maintains a set of attributescorresponding to the current state of the infrastructure component beingmodified in connection with FIG. 2 ), according to at least oneembodiment. The current state object may include any suitable number ofattributes. Each attribute may include an attribute identifier (e.g.,“attribute 1,” “attribute 2,” etc.) and a corresponding value (e.g.,value 1, value 2, etc.). The current state object 300 may be utilized tostore a superset of the attributes associated with the current state ofa particular infrastructure component. In some embodiments, at least oneof the attributes of the set may include an identifier corresponding tothe infrastructure component to which the object pertains. Thisidentifier may be utilized to search for and retrieve the object from aset of objects, each one corresponding to different infrastructurecomponents.

In some embodiments, it may be the case that a particular requestor isnot interested in every attribute of the current state. Rather, onechange requestor may be interested in a subset of attributes (e.g.,attribute subset 302) while a different change requestor may beinterested in a different subset of attributes (e.g., attribute subset304). In some embodiments, these subsets may be mutually exclusive ortwo or more subsets may share one or more attributes among them. Thedata plane 206 of FIG. 2 may be configured with a mapping that indicatesthe particular subset of attribute that pertains to a particularrequestor. In some embodiments, this mapping may be preloaded prior torun time as part of configuration efforts associated with the dataplane.

Returning to FIG. 2 , the data plane 206 may identify, from the mapping,a subset of attributes associated with the change requestor. As anon-limiting example, the mapping may identify subset 302 as pertainingto the change requestor. The data plane 206 may generate a new stateobject (e.g., a desired state object) and copy the attributes of currentstate object 300 to this new state object. The desired state object maythen be modified in accordance with the change request. Said anotherway, the data plane 206 may modify one or more attributes of the desiredstate object to values that should exist in the current state objectafter the change to the infrastructure component is complete. Theseattributes and corresponding values, including any changes made withrespect to the change request, may be referred to as “desired statedata” and may be used to indicate a desired and/or future state of theinfrastructure component.

FIG. 4 illustrates an example desired state object (e.g., desired stateobject 400), according to at least one embodiment. The desired stateobject 400 may be substantially similar to the current state object 300of FIG. 3 in that it may include the same attributes as the currentstate object 300, although the respective values of those attributes maydiffer between the objects. The desired state object 400 may alsoinclude a superset of attributes that indicate a state of aninfrastructure component. While the current state object maintains data(e.g., current state data) that indicates a current state of theinfrastructure component, the desired state object 400 may be utilizedto maintain data indicating a desired and/or future state correspondingto a change request. The desired state object 400 may also includeattribute subset 402 and attribute subset 404 which corresponding withattribute subset 302 and attribute subset 304, respectively.

Returning to FIG. 2 , the method 200 may proceed to 218, where the dataplane 206 may identify from the mapping it stores, an attribute subset(e.g., attribute subset 402 of FIG. 2 ) that corresponds to therequesting computing component (e.g., an entity associated with the userdevice 106. By way of example, the data plane 206 may obtain theidentifier of the user device 202 and/or an entity (e.g., a user)associated with the user device 202 from the change request datareceived at 212 and utilize this identifier to identify attribute subset402. Using the attributes of the attribute subset 402, the data plane206 may compute a hash value using a predefined hashing algorithm andattribute subset 402 as input. The particular operations performed tocalculate hash values using any suitable number of attributes may beidentified according to a predefined scheme known to and enforced by thedata plane 206. In some embodiments, the change request data may bestored at the state information data store 208 at 220. For example, insome embodiments, the change request data and the computed hash valuemay be stored in the desired state object which in turn is stored in thestate information data store 208. In some embodiments, the stateinformation data store 208 may serve as a queue for pending changes tobe made. Thus, the change request data may be stored in any suitablemanner that indicates operations for the change have yet to be made.

At 222, the data plane 206 may provide the hash value calculated fromthe desired state data to the control plane 204 which in turn may storethe hash value in local memory at 224. This hash value may be referredto herein as the “desired state hash value.”

FIG. 5 is a flow diagram illustrating an example method 500 for applyinga requested change to a compute instance (e.g., a particularinfrastructure component of the infrastructure component(s) 104 of FIG.1 ), according to at least one embodiment. The method 500 may beperformed with the state information data store 502 (e.g., the stateinformation data store 118 of FIG. 1 ), worker 504 (e.g., one of theworker(s) 116 of FIG. 1 ), compute instance 506 (e.g., the particularinfrastructure component to which the change request of FIG. 2 pertains,one of the infrastructure component(s) 104 of FIG. 1 ), and monitoringservice 508 (e.g., the monitoring service 120 of FIG. 1 ). The method500 may include more or fewer operations than those shown in FIG. 5 .The operations of method 500 may be performed in any suitable order. Insome embodiments, one or more operations performed by a multiplecomponents may be performed by a single component and/or operationsperformed by a single component may be split and provided by multiplecomponents.

The method 500 may begin at 510, where a worker 504 may be instantiatedand request, from the state information data store 502, change requestdata corresponding to the next change to be made to an infrastructurecomponent. In some embodiments, the state information data store 502 maymaintain a queue of one or more change requests that have yet to beapplied. In some embodiments, the worker 504 may be configured to obtainthe oldest change request from the state information data store 502.

The worker may be configured to access logic for identifying particularoperations to be performed to apply the requested change as indicated bythe change request data. At 512, the worker 504 may perform theseoperations to apply the change to compute instance 506 (the particularinfrastructure component to which the change request relates).

At 514, the monitoring service 508 may be configured to request statedata corresponding to the compute instance 506. In some embodiments, themonitoring service 508 may be configured to request state data fromcompute instance 506 according to a predefined periodicity, schedule, orthe like.

At 516, the monitoring service 508 may receive current state dataindicating a current state of the compute instance 506. Additionally, oralternatively, the compute instance 506 may report its current statedata as a result of the operations performed by the worker at 512.Additionally, or alternatively, the worker 504 may report the change tothe monitoring service 508 (for example, upon completion of the changerequested).

At 518, the monitoring service 508 may request access to the currentstate object corresponding to the compute instance 506. By way ofexample, the monitoring service 508 may submit a request to the stateinformation data store 502 for a current state object corresponding toan identifier associated with the compute instance 506 and, in responseto this request, the state information data store 502 may return thecurrent state object.

At 520, the monitoring service 508 may perform any suitable operationsfor updating the current state object with the current state datareceived at 516. In some embodiments, these operations may includeoverwriting one or more previous attribute values stored in the currentstate object with different values obtained from the current state datareceived at 516.

At 522, the monitoring service 508 may perform operations to storenewly-modified current state object in the state information data store502. By storing the newly-modified current state object in the stateinformation data store 502, the monitoring service 508 may make thecurrent state data accessible to the data plane 114 of FIG. 1 and/or anysuitable component of the data plane 114.

FIG. 6 is a flow diagram illustrating an example method 600 foridentifying that a previously-requested change has been made to acompute instance, according to at least one embodiment. The method 500may be performed with the user device 602 (e.g., the user device 202 ofFIG. 2 ), the control plane 604 (e.g., the control plane 204 of FIG. 2), the data plane 606 (e.g., the data plane 206 of FIG. 2 ), and thestate information data store 608 (e.g., the state information data store502 of FIG. 5 ). The method 600 may include more or fewer operationsthan those shown in FIG. 6 . The operations of method 600 may beperformed in any suitable order. In some embodiments, one or moreoperations performed by a multiple components may be performed by asingle component and/or operations performed by a single component maybe split and provided by multiple components. In some embodiments, themethod 600 may be performed after the method 200 of FIG. 2 has beenperformed.

The method 600 may begin at 610, wherein the control plane 604 maysubmit a request for current state data to the data plane 606. In someembodiments, the control plane 604 may submit this request according toa predefined periodicity, according to a predefined schedule, or at anysuitable time. As a non-limiting example, once the method 200 has beenperformed, the control plane 604 may be configured to request currentstate data for the corresponding infrastructure component associatedwith the change request of FIG. 2 at a periodic rate (e.g., every fiveminutes, two minute, 30 seconds, daily, nightly, etc.). In someembodiments, this request may indicate the requestor (e.g., the userdevice 106 of FIG. 1 and/or an entity associated with that device) ofthe change request of FIG. 2 and an identifier for the infrastructurecomponent to which the change request pertained.

At 612, the data plane 606 may access the current state objectcorresponding to the identifier for the infrastructure component towhich the change request pertained. At 614, the state information datastore 608 may return the current state object for that infrastructurecomponent.

At 616, using the identifier for the requestor provided by the controlplane 604 at 610, the data plane 606 may consult its locally storedmapping to identify an attribute subset (e.g., the attribute subset 302of FIG. 3 ) to which the requestor is associated. Using only theattributes of that subset and a predefined hashing algorithm, the dataplane 606 may be configured to compute another hash value representing acurrent state of the infrastructure component with respect to thatsubset of attributes. The particular operations performed to calculatethis hash value may be identified according to a predefined scheme knownand enforced by the data plane 206.

At 618, the hash value calculated at 616 (referred to as the currentstate hash value) may be provided to the control plane 604 in responseto the request submitted at 610.

At 620, the control plane 604 may be configured to compare the desiredstate hash value received at 222 as part of performing the method 200 ofFIG. 2 . In some embodiments, if the current state hash value providedat 618 does not match the desired state hash value received at 222during the method 200, the method 600 may proceed back to 610 when, at asubsequent time, a new request for current state data is submittedresulting in a new current state hash value being computed and comparedto the desired state hash value. This method may be repeated anysuitable number of times until the comparison indicates the currentstate hash value and the desired state hash value match. A match, inthis context, indicates that the requested change to the correspondinginfrastructure component has been completed.

At 622, the control plane 604 may provide an indication to the userdevice 602 that the requested change was completed. In some embodiments,this indication may be presented at the user interface 108 of FIG. 1 .Although not depicted, it should be appreciated that the user interface108 may provide one or more options for cancelling a previouslysubmitted change request. This option may be exercised by a user at anysuitable time (e.g., after a relatively substantial time period haspassed after a change request was submitted, for example, 30 minutes fora change that should have taken approximately two minutes to complete).

FIG. 7 depicts a flowchart illustrating an example of a method 700 formodifying an attribute of a compute instance, according to at least oneembodiment. The method 700 may be performed by one or more components ofthe cloud infrastructure system 102 of FIG. 1 . The method 700 mayinclude more or fewer operations than those depicted in FIG. 7 . Theseoperations may be performed in any suitable order.

The method 700 may being at 701, where a compute instance (e.g., aninfrastructure component of the infrastructure component(s) 104 of FIG.1 ) of a cloud computing environment (e.g., environment 100 of FIG. 1 )may be managed by a computing system (e.g., by the cloud infrastructuresystem 102). In some embodiments, the compute instance may be managedbased at least in part on management of a first state objectcorresponding to the compute instance (e.g., the current state object300 of FIG. 3 ). In some embodiments, the first state object comprises aset of attributes indicating a current state of the compute instance(e.g., attributes 1-N of FIG. 3 ).

At 702, change request data indicating a requested change to aparticular attribute of the compute instance may be received by thecomputing system (e.g., by the control plane 204, by the data plane 206,etc.) from a requesting computing component (e.g., the user device 202of FIG. 2 , an example of the user device 106 of FIG. 1 , the controlplane 204, etc.).

At 703, a second state object of the compute instance (e.g., the desiredstate object 400 of FIG. 4 ) may be derived (e.g., by the data plane 206of FIG. 2 ) based at least in part on the requested change and the firststate object indicating the current state of the compute instance. Anexample of this derivation is discussed at 216 of FIG. 2 .

At 704, a first hash value (e.g., a desired state hash value) iscalculated by the computing system (e.g., the data plane 206). In someembodiments, the first hash value is calculated based at least in parton a first subset of attributes (e.g., attribute subset 402 of FIG. 4 )of a set of attributes of the second state object. An example of thiscalculation is discussed above at 218 of FIG. 2 .

At 705, the first hash value (e.g., the desired state hash value) isprovided by the computing system (e.g., the data plane 206) to therequesting computing component (e.g., the control plane 204, the userdevice 202 via the control plane 204).

At 706, the computing system executes the requested change to thecompute instance. Executing the requested change can comprise initiatinga separate computing process (e.g., worker 504 of FIG. 5 , an example ofthe worker(s) 116 of FIG. 1 ) to perform one or more operations forapplying the change request to the compute instance.

At 707, the first state object (e.g., the current state objectassociated with the compute instance) may be updated by the computingsystem (e.g., the monitoring service 508 of FIG. 5 ) based at least inpart on executing the requested change to the compute instance. Anexample of this update is discussed above at 520 of FIG. 5 .

At 708, a second hash value is calculated (e.g., by the data plane 606of FIG. 6 , an example of the data plane 114 of FIG. 1 ). In someembodiments, the second hash value (e.g., a current state hash value) iscalculated based at least in part on a second subset of the set ofattributes of the first state object (e.g., attribute subset 302 of FIG.3 which correspond to the attribute subset 402 of FIG. 4 ).

At 709, the second hash value (e.g., the current state hash value) isprovided by the computing system to the requesting computing component(e.g., the control plane 604, the user device 602 via the control plane604). In some embodiments, the first hash value and the second hashvalue are configured to be utilized by the requesting computingcomponent to verify that the requested change has been implemented atthe compute instance. By way of example, the control plane 604 may beconfigured to compare the first hash value (e.g., the desired state hashvalue received at 222 of FIG. 2 ) with the second hash value (e.g., thecurrent state hash value received at 618 of FIG. 6 ). The requestingcomputing component may identify the change requested as being completedwhen the two hash values match. If the hash values do not match, therequesting computing component (e.g., the control plane 604) maysubsequently request new current state data (e.g., a new current statehash value representing attributes of a later state) and perform thecomparison again. This process may be repeated any suitable number oftimes until a match is identified and/or the change request is cancelled(e.g., via the user interface 108 of FIG. 1 ).

As noted above, infrastructure as a service (IaaS) is one particulartype of cloud computing. IaaS can be configured to provide virtualizedcomputing resources over a public network (e.g., the Internet). In anIaaS model, a cloud computing provider can host the infrastructurecomponents (e.g., servers, storage devices, network nodes (e.g.,hardware), deployment software, platform virtualization (e.g., ahypervisor layer), or the like). In some cases, an IaaS provider mayalso supply a variety of services to accompany those infrastructurecomponents (e.g., billing, monitoring, logging, security, load balancingand clustering, etc.). Thus, as these services may be policy-driven,IaaS users may be able to implement policies to drive load balancing tomaintain application availability and performance.

In some instances, IaaS customers may access resources and servicesthrough a wide area network (WAN), such as the Internet, and can use thecloud provider's services to install the remaining elements of anapplication stack. For example, the user can log in to the IaaS platformto create virtual machines (VMs), install operating systems (OSs) oneach VM, deploy middleware such as databases, create storage buckets forworkloads and backups, and even install enterprise software into thatVM. Customers can then use the provider's services to perform variousfunctions, including balancing network traffic, troubleshootingapplication issues, monitoring performance, managing disaster recovery,etc.

In most cases, a cloud computing model will require the participation ofa cloud provider. The cloud provider may, but need not be, a third-partyservice that specializes in providing (e.g., offering, renting, selling)IaaS. An entity might also opt to deploy a private cloud, becoming itsown provider of infrastructure services.

In some examples, IaaS deployment is the process of putting a newapplication, or a new version of an application, onto a preparedapplication server or the like. It may also include the process ofpreparing the server (e.g., installing libraries, daemons, etc.). Thisis often managed by the cloud provider, below the hypervisor layer(e.g., the servers, storage, network hardware, and virtualization).Thus, the customer may be responsible for handling (OS), middleware,and/or application deployment (e.g., on self-service virtual machines(e.g., that can be spun up on demand) or the like.

In some examples, IaaS provisioning may refer to acquiring computers orvirtual hosts for use, and even installing needed libraries or serviceson them. In most cases, deployment does not include provisioning, andthe provisioning may need to be performed first.

In some cases, there are two different problems for IaaS provisioning.First, there is the initial challenge of provisioning the initial set ofinfrastructure before anything is running. Second, there is thechallenge of evolving the existing infrastructure (e.g., adding newservices, changing services, removing services, etc.) once everythinghas been provisioned. In some cases, these two challenges may beaddressed by enabling the configuration of the infrastructure to bedefined declaratively. In other words, the infrastructure (e.g., whatcomponents are needed and how they interact) can be defined by one ormore configuration files. Thus, the overall topology of theinfrastructure (e.g., what resources depend on which, and how they eachwork together) can be described declaratively. In some instances, oncethe topology is defined, a workflow can be generated that creates and/ormanages the different components described in the configuration files.

In some examples, an infrastructure may have many interconnectedelements. For example, there may be one or more virtual private clouds(VPCs) (e.g., a potentially on-demand pool of configurable and/or sharedcomputing resources), also known as a core network. In some examples,there may also be one or more security group rules provisioned to definehow the security of the network will be set up and one or more virtualmachines (VMs). Other infrastructure elements may also be provisioned,such as a load balancer, a database, or the like. As more and moreinfrastructure elements are desired and/or added, the infrastructure mayincrementally evolve.

In some instances, continuous deployment techniques may be employed toenable deployment of infrastructure code across various virtualcomputing environments. Additionally, the described techniques canenable infrastructure management within these environments. In someexamples, service teams can write code that is desired to be deployed toone or more, but often many, different production environments (e.g.,across various different geographic locations, sometimes spanning theentire world). However, in some examples, the infrastructure on whichthe code will be deployed must first be set up. In some instances, theprovisioning can be done manually, a provisioning tool may be utilizedto provision the resources, and/or deployment tools may be utilized todeploy the code once the infrastructure is provisioned.

FIG. 8 is a block diagram 800 illustrating an example pattern of an IaaSarchitecture, according to at least one embodiment. Service operators802 can be communicatively coupled to a secure host tenancy 804 that caninclude a virtual cloud network (VCN) 806 and a secure host subnet 808.In some examples, the service operators 802 may be using one or moreclient computing devices, which may be portable handheld devices (e.g.,an iPhone®, cellular telephone, an iPad®, computing tablet, a personaldigital assistant (PDA)) or wearable devices (e.g., a Google Glass® headmounted display), running software such as Microsoft Windows Mobile®,and/or a variety of mobile operating systems such as iOS, Windows Phone,Android, BlackBerry 8, Palm OS, and the like, and being Internet,e-mail, short message service (SMS), Blackberry®, or other communicationprotocol enabled. Alternatively, the client computing devices can begeneral purpose personal computers including, by way of example,personal computers and/or laptop computers running various versions ofMicrosoft Windows®, Apple Macintosh®, and/or Linux operating systems.The client computing devices can be workstation computers running any ofa variety of commercially-available UNIX® or UNIX-like operatingsystems, including without limitation the variety of GNU/Linux operatingsystems, such as for example, Google Chrome OS. Alternatively, or inaddition, client computing devices may be any other electronic device,such as a thin-client computer, an Internet-enabled gaming system (e.g.,a Microsoft Xbox gaming console with or without a Kinect® gesture inputdevice), and/or a personal messaging device, capable of communicatingover a network that can access the VCN 806 and/or the Internet.

The VCN 806 can include a local peering gateway (LPG) 810 that can becommunicatively coupled to a secure shell (SSH) VCN 812 via an LPG 810contained in the SSH VCN 812. The SSH VCN 812 can include an SSH subnet814, and the SSH VCN 812 can be communicatively coupled to a controlplane VCN 816 via the LPG 810 contained in the control plane VCN 816.Also, the SSH VCN 812 can be communicatively coupled to a data plane VCN818 via an LPG 810. The control plane VCN 816 and the data plane VCN 818can be contained in a service tenancy 819 that can be owned and/oroperated by the IaaS provider.

The control plane VCN 816 can include a control plane demilitarized zone(DMZ) tier 820 that acts as a perimeter network (e.g., portions of acorporate network between the corporate intranet and external networks).The DMZ-based servers may have restricted responsibilities and help keepsecurity breaches contained. Additionally, the DMZ tier 820 can includeone or more load balancer (LB) subnet(s) 822, a control plane app tier824 that can include app subnet(s) 826, a control plane data tier 828that can include database (DB) subnet(s) 830 (e.g., frontend DBsubnet(s) and/or backend DB subnet(s)). The LB subnet(s) 822 containedin the control plane DMZ tier 820 can be communicatively coupled to theapp subnet(s) 826 contained in the control plane app tier 824 and anInternet gateway 834 that can be contained in the control plane VCN 816,and the app subnet(s) 826 can be communicatively coupled to the DBsubnet(s) 830 contained in the control plane data tier 828 and a servicegateway 836 and a network address translation (NAT) gateway 838. Thecontrol plane VCN 816 can include the service gateway 836 and the NATgateway 838.

The control plane VCN 816 can include a data plane mirror app tier 840that can include app subnet(s) 826. The app subnet(s) 826 contained inthe data plane mirror app tier 840 can include a virtual networkinterface controller (VNIC) 842 that can execute a compute instance 844.The compute instance 844 can communicatively couple the app subnet(s)826 of the data plane mirror app tier 840 to app subnet(s) 826 that canbe contained in a data plane app tier 846.

The data plane VCN 818 can include the data plane app tier 846, a dataplane DMZ tier 848, and a data plane data tier 850. The data plane DMZtier 848 can include LB subnet(s) 822 that can be communicativelycoupled to the app subnet(s) 826 of the data plane app tier 846 and theInternet gateway 834 of the data plane VCN 818. The app subnet(s) 826can be communicatively coupled to the service gateway 836 of the dataplane VCN 818 and the NAT gateway 838 of the data plane VCN 818. Thedata plane data tier 850 can also include the DB subnet(s) 830 that canbe communicatively coupled to the app subnet(s) 826 of the data planeapp tier 846.

The Internet gateway 834 of the control plane VCN 816 and of the dataplane VCN 818 can be communicatively coupled to a metadata managementservice 852 that can be communicatively coupled to public Internet 854.Public Internet 854 can be communicatively coupled to the NAT gateway838 of the control plane VCN 816 and of the data plane VCN 818. Theservice gateway 836 of the control plane VCN 816 and of the data planeVCN 818 can be communicatively couple to cloud services 856.

In some examples, the service gateway 836 of the control plane VCN 816or of the data plane VCN 818 can make application programming interface(API) calls to cloud services 856 without going through public Internet854. The API calls to cloud services 856 from the service gateway 836can be one-way: the service gateway 836 can make API calls to cloudservices 856, and cloud services 856 can send requested data to theservice gateway 836. But, cloud services 856 may not initiate API callsto the service gateway 836.

In some examples, the secure host tenancy 804 can be directly connectedto the service tenancy 819, which may be otherwise isolated. The securehost subnet 808 can communicate with the SSH subnet 814 through an LPG810 that may enable two-way communication over an otherwise isolatedsystem. Connecting the secure host subnet 808 to the SSH subnet 814 maygive the secure host subnet 808 access to other entities within theservice tenancy 819.

The control plane VCN 816 may allow users of the service tenancy 819 toset up or otherwise provision desired resources. Desired resourcesprovisioned in the control plane VCN 816 may be deployed or otherwiseused in the data plane VCN 818. In some examples, the control plane VCN816 can be isolated from the data plane VCN 818, and the data planemirror app tier 840 of the control plane VCN 816 can communicate withthe data plane app tier 846 of the data plane VCN 818 via VNICs 842 thatcan be contained in the data plane mirror app tier 840 and the dataplane app tier 846.

In some examples, users of the system, or customers, can make requests,for example create, read, update, or delete (CRUD) operations, throughpublic Internet 854 that can communicate the requests to the metadatamanagement service 852. The metadata management service 852 cancommunicate the request to the control plane VCN 816 through theInternet gateway 834. The request can be received by the LB subnet(s)822 contained in the control plane DMZ tier 820. The LB subnet(s) 822may determine that the request is valid, and in response to thisdetermination, the LB subnet(s) 822 can transmit the request to appsubnet(s) 826 contained in the control plane app tier 824. If therequest is validated and requires a call to public Internet 854, thecall to public Internet 854 may be transmitted to the NAT gateway 838that can make the call to public Internet 854. Memory that may bedesired to be stored by the request can be stored in the DB subnet(s)830.

In some examples, the data plane mirror app tier 840 can facilitatedirect communication between the control plane VCN 816 and the dataplane VCN 818. For example, changes, updates, or other suitablemodifications to configuration may be desired to be applied to theresources contained in the data plane VCN 818. Via a VNIC 842, thecontrol plane VCN 816 can directly communicate with, and can therebyexecute the changes, updates, or other suitable modifications toconfiguration to, resources contained in the data plane VCN 818.

In some embodiments, the control plane VCN 816 and the data plane VCN818 can be contained in the service tenancy 819. In this case, the user,or the customer, of the system may not own or operate either the controlplane VCN 816 or the data plane VCN 818. Instead, the IaaS provider mayown or operate the control plane VCN 816 and the data plane VCN 818,both of which may be contained in the service tenancy 819. Thisembodiment can enable isolation of networks that may prevent users orcustomers from interacting with other users', or other customers',resources. Also, this embodiment may allow users or customers of thesystem to store databases privately without needing to rely on publicInternet 854, which may not have a desired level of security, forstorage.

In other embodiments, the LB subnet(s) 822 contained in the controlplane VCN 816 can be configured to receive a signal from the servicegateway 836. In this embodiment, the control plane VCN 816 and the dataplane VCN 818 may be configured to be called by a customer of the IaaSprovider without calling public Internet 854. Customers of the IaaSprovider may desire this embodiment since database(s) that the customersuse may be controlled by the IaaS provider and may be stored on theservice tenancy 819, which may be isolated from public Internet 854.

FIG. 9 is a block diagram 900 illustrating another example pattern of anIaaS architecture, according to at least one embodiment. Serviceoperators 902 (e.g. service operators 802 of FIG. 8 ) can becommunicatively coupled to a secure host tenancy 904 (e.g. the securehost tenancy 804 of FIG. 8 ) that can include a virtual cloud network(VCN) 906 (e.g. the VCN 806 of FIG. 8 ) and a secure host subnet 908(e.g. the secure host subnet 808 of FIG. 8 ). The VCN 906 can include alocal peering gateway (LPG) 910 (e.g. the LPG 810 of FIG. 8 ) that canbe communicatively coupled to a secure shell (SSH) VCN 912 (e.g. the SSHVCN 812 of FIG. 8 ) via an LPG 810 contained in the SSH VCN 912. The SSHVCN 912 can include an SSH subnet 914 (e.g. the SSH subnet 814 of FIG. 8), and the SSH VCN 912 can be communicatively coupled to a control planeVCN 916 (e.g. the control plane VCN 816 of FIG. 8 ) via an LPG 910contained in the control plane VCN 916. The control plane VCN 916 can becontained in a service tenancy 919 (e.g. the service tenancy 819 of FIG.8 ), and the data plane VCN 918 (e.g. the data plane VCN 818 of FIG. 8 )can be contained in a customer tenancy 921 that may be owned or operatedby users, or customers, of the system.

The control plane VCN 916 can include a control plane DMZ tier 920 (e.g.the control plane DMZ tier 820 of FIG. 8 ) that can include LB subnet(s)922 (e.g. LB subnet(s) 822 of FIG. 8 ), a control plane app tier 924(e.g. the control plane app tier 824 of FIG. 8 ) that can include appsubnet(s) 926 (e.g. app subnet(s) 826 of FIG. 8 ), a control plane datatier 928 (e.g. the control plane data tier 828 of FIG. 8 ) that caninclude database (DB) subnet(s) 930 (e.g. similar to DB subnet(s) 830 ofFIG. 8 ). The LB subnet(s) 922 contained in the control plane DMZ tier920 can be communicatively coupled to the app subnet(s) 926 contained inthe control plane app tier 924 and an Internet gateway 934 (e.g. theInternet gateway 834 of FIG. 8 ) that can be contained in the controlplane VCN 916, and the app subnet(s) 926 can be communicatively coupledto the DB subnet(s) 930 contained in the control plane data tier 928 anda service gateway 936 (e.g. the service gateway of FIG. 8 ) and anetwork address translation (NAT) gateway 938 (e.g. the NAT gateway 838of FIG. 8 ). The control plane VCN 916 can include the service gateway936 and the NAT gateway 938.

The control plane VCN 916 can include a data plane mirror app tier 940(e.g. the data plane mirror app tier 840 of FIG. 8 ) that can includeapp subnet(s) 926. The app subnet(s) 926 contained in the data planemirror app tier 940 can include a virtual network interface controller(VNIC) 942 (e.g. the VNIC of 842) that can execute a compute instance944 (e.g. similar to the compute instance 844 of FIG. 8 ). The computeinstance 944 can facilitate communication between the app subnet(s) 926of the data plane mirror app tier 940 and the app subnet(s) 926 that canbe contained in a data plane app tier 946 (e.g. the data plane app tier846 of FIG. 8 ) via the VNIC 942 contained in the data plane mirror apptier 940 and the VNIC 942 contained in the data plane app tier 946.

The Internet gateway 934 contained in the control plane VCN 916 can becommunicatively coupled to a metadata management service 952 (e.g. themetadata management service 852 of FIG. 8 ) that can be communicativelycoupled to public Internet 954 (e.g. public Internet 854 of FIG. 8 ).Public Internet 954 can be communicatively coupled to the NAT gateway938 contained in the control plane VCN 916. The service gateway 936contained in the control plane VCN 916 can be communicatively couple tocloud services 956 (e.g. cloud services 856 of FIG. 8 ).

In some examples, the data plane VCN 918 can be contained in thecustomer tenancy 921. In this case, the IaaS provider may provide thecontrol plane VCN 916 for each customer, and the IaaS provider may, foreach customer, set up a unique compute instance 944 that is contained inthe service tenancy 919. Each compute instance 944 may allowcommunication between the control plane VCN 916, contained in theservice tenancy 919, and the data plane VCN 918 that is contained in thecustomer tenancy 921. The compute instance 944 may allow resources, thatare provisioned in the control plane VCN 916 that is contained in theservice tenancy 919, to be deployed or otherwise used in the data planeVCN 918 that is contained in the customer tenancy 921.

In other examples, the customer of the IaaS provider may have databasesthat live in the customer tenancy 921. In this example, the controlplane VCN 916 can include the data plane mirror app tier 940 that caninclude app subnet(s) 926. The data plane mirror app tier 940 can residein the data plane VCN 918, but the data plane mirror app tier 940 maynot live in the data plane VCN 918. That is, the data plane mirror apptier 940 may have access to the customer tenancy 921, but the data planemirror app tier 940 may not exist in the data plane VCN 918 or be ownedor operated by the customer of the IaaS provider. The data plane mirrorapp tier 940 may be configured to make calls to the data plane VCN 918but may not be configured to make calls to any entity contained in thecontrol plane VCN 916. The customer may desire to deploy or otherwiseuse resources in the data plane VCN 918 that are provisioned in thecontrol plane VCN 916, and the data plane mirror app tier 940 canfacilitate the desired deployment, or other usage of resources, of thecustomer.

In some embodiments, the customer of the IaaS provider can apply filtersto the data plane VCN 918. In this embodiment, the customer candetermine what the data plane VCN 918 can access, and the customer mayrestrict access to public Internet 954 from the data plane VCN 918. TheIaaS provider may not be able to apply filters or otherwise controlaccess of the data plane VCN 918 to any outside networks or databases.Applying filters and controls by the customer onto the data plane VCN918, contained in the customer tenancy 921, can help isolate the dataplane VCN 918 from other customers and from public Internet 954.

In some embodiments, cloud services 956 can be called by the servicegateway 936 to access services that may not exist on public Internet954, on the control plane VCN 916, or on the data plane VCN 918. Theconnection between cloud services 956 and the control plane VCN 916 orthe data plane VCN 918 may not be live or continuous. Cloud services 956may exist on a different network owned or operated by the IaaS provider.Cloud services 956 may be configured to receive calls from the servicegateway 936 and may be configured to not receive calls from publicInternet 954. Some cloud services 956 may be isolated from other cloudservices 956, and the control plane VCN 916 may be isolated from cloudservices 956 that may not be in the same region as the control plane VCN916. For example, the control plane VCN 916 may be located in “Region1,” and cloud service “Deployment 8,” may be located in Region 1 and in“Region 2.” If a call to Deployment 8 is made by the service gateway 936contained in the control plane VCN 916 located in Region 1, the call maybe transmitted to Deployment 8 in Region 1. In this example, the controlplane VCN 916, or Deployment 8 in Region 1, may not be communicativelycoupled to, or otherwise in communication with, Deployment 8 in Region2.

FIG. 10 is a block diagram 1000 illustrating another example pattern ofan IaaS architecture, according to at least one embodiment. Serviceoperators 1002 (e.g. service operators 802 of FIG. 8 ) can becommunicatively coupled to a secure host tenancy 1004 (e.g. the securehost tenancy 804 of FIG. 8 ) that can include a virtual cloud network(VCN) 1006 (e.g. the VCN 806 of FIG. 8 ) and a secure host subnet 1008(e.g. the secure host subnet 808 of FIG. 8 ). The VCN 1006 can includean LPG 1010 (e.g. the LPG 810 of FIG. 8 ) that can be communicativelycoupled to an SSH VCN 1012 (e.g. the SSH VCN 812 of FIG. 8 ) via an LPG1010 contained in the SSH VCN 1012. The SSH VCN 1012 can include an SSHsubnet 1014 (e.g. the SSH subnet 814 of FIG. 8 ), and the SSH VCN 1012can be communicatively coupled to a control plane VCN 1016 (e.g. thecontrol plane VCN 816 of FIG. 8 ) via an LPG 1010 contained in thecontrol plane VCN 1016 and to a data plane VCN 1018 (e.g. the data plane818 of FIG. 8 ) via an LPG 1010 contained in the data plane VCN 1018.The control plane VCN 1016 and the data plane VCN 1018 can be containedin a service tenancy 1019 (e.g. the service tenancy 819 of FIG. 8 ).

The control plane VCN 1016 can include a control plane DMZ tier 1020(e.g. the control plane DMZ tier 820 of FIG. 8 ) that can include loadbalancer (LB) subnet(s) 1022 (e.g. LB subnet(s) 822 of FIG. 8 ), acontrol plane app tier 1024 (e.g. the control plane app tier 824 of FIG.8 ) that can include app subnet(s) 1026 (e.g. similar to app subnet(s)826 of FIG. 8 ), a control plane data tier 1028 (e.g. the control planedata tier 828 of FIG. 8 ) that can include DB subnet(s) 1030. The LBsubnet(s) 1022 contained in the control plane DMZ tier 1020 can becommunicatively coupled to the app subnet(s) 1026 contained in thecontrol plane app tier 1024 and to an Internet gateway 1034 (e.g. theInternet gateway 834 of FIG. 8 ) that can be contained in the controlplane VCN 1016, and the app subnet(s) 1026 can be communicativelycoupled to the DB subnet(s) 1030 contained in the control plane datatier 1028 and to a service gateway 1036 (e.g. the service gateway ofFIG. 8 ) and a network address translation (NAT) gateway 1038 (e.g. theNAT gateway 838 of FIG. 8 ). The control plane VCN 1016 can include theservice gateway 1036 and the NAT gateway 1038.

The data plane VCN 1018 can include a data plane app tier 1046 (e.g. thedata plane app tier 846 of FIG. 8 ), a data plane DMZ tier 1048 (e.g.the data plane DMZ tier 848 of FIG. 8 ), and a data plane data tier 1050(e.g. the data plane data tier 850 of FIG. 8 ). The data plane DMZ tier1048 can include LB subnet(s) 1022 that can be communicatively coupledto trusted app subnet(s) 1060 and untrusted app subnet(s) 1062 of thedata plane app tier 1046 and the Internet gateway 1034 contained in thedata plane VCN 1018. The trusted app subnet(s) 1060 can becommunicatively coupled to the service gateway 1036 contained in thedata plane VCN 1018, the NAT gateway 1038 contained in the data planeVCN 1018, and DB subnet(s) 1030 contained in the data plane data tier1050. The untrusted app subnet(s) 1062 can be communicatively coupled tothe service gateway 1036 contained in the data plane VCN 1018 and DBsubnet(s) 1030 contained in the data plane data tier 1050. The dataplane data tier 1050 can include DB subnet(s) 1030 that can becommunicatively coupled to the service gateway 1036 contained in thedata plane VCN 1018.

The untrusted app subnet(s) 1062 can include one or more primary VNICs1064(1)-(N) that can be communicatively coupled to tenant virtualmachines (VMs) 1066(1)-(N). Each tenant VM 1066(1)-(N) can becommunicatively coupled to a respective app subnet 1067(1)-(N) that canbe contained in respective container egress VCNs 1068(1)-(N) that can becontained in respective customer tenancies 1070(1)-(N). Respectivesecondary VNICs 1072(1)-(N) can facilitate communication between theuntrusted app subnet(s) 1062 contained in the data plane VCN 1018 andthe app subnet contained in the container egress VCNs 1068(1)-(N). Eachcontainer egress VCNs 1068(1)-(N) can include a NAT gateway 1038 thatcan be communicatively coupled to public Internet 1054 (e.g. publicInternet 854 of FIG. 8 ).

The Internet gateway 1034 contained in the control plane VCN 1016 andcontained in the data plane VCN 1018 can be communicatively coupled to ametadata management service 1052 (e.g. the metadata management system852 of FIG. 8 ) that can be communicatively coupled to public Internet1054. Public Internet 1054 can be communicatively coupled to the NATgateway 1038 contained in the control plane VCN 1016 and contained inthe data plane VCN 1018. The service gateway 1036 contained in thecontrol plane VCN 1016 and contained in the data plane VCN 1018 can becommunicatively couple to cloud services 1056.

In some embodiments, the data plane VCN 1018 can be integrated withcustomer tenancies 1070. This integration can be useful or desirable forcustomers of the IaaS provider in some cases such as a case that maydesire support when executing code. The customer may provide code to runthat may be destructive, may communicate with other customer resources,or may otherwise cause undesirable effects. In response to this, theIaaS provider may determine whether to run code given to the IaaSprovider by the customer.

In some examples, the customer of the IaaS provider may grant temporarynetwork access to the IaaS provider and request a function to beattached to the data plane tier app 1046. Code to run the function maybe executed in the VMs 1066(1)-(N), and the code may not be configuredto run anywhere else on the data plane VCN 1018. Each VM 1066(1)-(N) maybe connected to one customer tenancy 1070. Respective containers1071(1)-(N) contained in the VMs 1066(1)-(N) may be configured to runthe code. In this case, there can be a dual isolation (e.g., thecontainers 1071(1)-(N) running code, where the containers 1071(1)-(N)may be contained in at least the VM 1066(1)-(N) that are contained inthe untrusted app subnet(s) 1062), which may help prevent incorrect orotherwise undesirable code from damaging the network of the IaaSprovider or from damaging a network of a different customer. Thecontainers 1071(1)-(N) may be communicatively coupled to the customertenancy 1070 and may be configured to transmit or receive data from thecustomer tenancy 1070. The containers 1071(1)-(N) may not be configuredto transmit or receive data from any other entity in the data plane VCN1018. Upon completion of running the code, the IaaS provider may kill orotherwise dispose of the containers 1071(1)-(N).

In some embodiments, the trusted app subnet(s) 1060 may run code thatmay be owned or operated by the IaaS provider. In this embodiment, thetrusted app subnet(s) 1060 may be communicatively coupled to the DBsubnet(s) 1030 and be configured to execute CRUD operations in the DBsubnet(s) 1030. The untrusted app subnet(s) 1062 may be communicativelycoupled to the DB subnet(s) 1030, but in this embodiment, the untrustedapp subnet(s) may be configured to execute read operations in the DBsubnet(s) 1030. The containers 1071(1)-(N) that can be contained in theVM 1066(1)-(N) of each customer and that may run code from the customermay not be communicatively coupled with the DB subnet(s) 1030.

In other embodiments, the control plane VCN 1016 and the data plane VCN1018 may not be directly communicatively coupled. In this embodiment,there may be no direct communication between the control plane VCN 1016and the data plane VCN 1018. However, communication can occur indirectlythrough at least one method. An LPG 1010 may be established by the IaaSprovider that can facilitate communication between the control plane VCN1016 and the data plane VCN 1018. In another example, the control planeVCN 1016 or the data plane VCN 1018 can make a call to cloud services1056 via the service gateway 1036. For example, a call to cloud services1056 from the control plane VCN 1016 can include a request for a servicethat can communicate with the data plane VCN 1018.

FIG. 11 is a block diagram 1100 illustrating another example pattern ofan IaaS architecture, according to at least one embodiment. Serviceoperators 1102 (e.g. service operators 802 of FIG. 8 ) can becommunicatively coupled to a secure host tenancy 1104 (e.g. the securehost tenancy 804 of FIG. 8 ) that can include a virtual cloud network(VCN) 1106 (e.g. the VCN 806 of FIG. 8 ) and a secure host subnet 1108(e.g. the secure host subnet 808 of FIG. 8 ). The VCN 1106 can includean LPG 1110 (e.g. the LPG 810 of FIG. 8 ) that can be communicativelycoupled to an SSH VCN 1112 (e.g. the SSH VCN 812 of FIG. 8 ) via an LPG1110 contained in the SSH VCN 1112. The SSH VCN 1112 can include an SSHsubnet 1114 (e.g. the SSH subnet 814 of FIG. 8 ), and the SSH VCN 1112can be communicatively coupled to a control plane VCN 1116 (e.g. thecontrol plane VCN 816 of FIG. 8 ) via an LPG 1110 contained in thecontrol plane VCN 1116 and to a data plane VCN 1118 (e.g. the data plane818 of FIG. 8 ) via an LPG 1110 contained in the data plane VCN 1118.The control plane VCN 1116 and the data plane VCN 1118 can be containedin a service tenancy 1119 (e.g. the service tenancy 819 of FIG. 8 ).

The control plane VCN 1116 can include a control plane DMZ tier 1120(e.g. the control plane DMZ tier 820 of FIG. 8 ) that can include LBsubnet(s) 1122 (e.g. LB subnet(s) 822 of FIG. 8 ), a control plane apptier 1124 (e.g. the control plane app tier 824 of FIG. 8 ) that caninclude app subnet(s) 1126 (e.g. app subnet(s) 826 of FIG. 8 ), acontrol plane data tier 1128 (e.g. the control plane data tier 828 ofFIG. 8 ) that can include DB subnet(s) 1130 (e.g. DB subnet(s) 1030 ofFIG. 10 ). The LB subnet(s) 1122 contained in the control plane DMZ tier1120 can be communicatively coupled to the app subnet(s) 1126 containedin the control plane app tier 1124 and to an Internet gateway 1134 (e.g.the Internet gateway 834 of FIG. 8 ) that can be contained in thecontrol plane VCN 1116, and the app subnet(s) 1126 can becommunicatively coupled to the DB subnet(s) 1130 contained in thecontrol plane data tier 1128 and to a service gateway 1136 (e.g. theservice gateway of FIG. 8 ) and a network address translation (NAT)gateway 1138 (e.g. the NAT gateway 838 of FIG. 8 ). The control planeVCN 1116 can include the service gateway 1136 and the NAT gateway 1138.

The data plane VCN 1118 can include a data plane app tier 1146 (e.g. thedata plane app tier 846 of FIG. 8 ), a data plane DMZ tier 1148 (e.g.the data plane DMZ tier 848 of FIG. 8 ), and a data plane data tier 1150(e.g. the data plane data tier 850 of FIG. 8 ). The data plane DMZ tier1148 can include LB subnet(s) 1122 that can be communicatively coupledto trusted app subnet(s) 1160 (e.g. trusted app subnet(s) 1060 of FIG.10 ) and untrusted app subnet(s) 1162 (e.g. untrusted app subnet(s) 1062of FIG. 10 ) of the data plane app tier 1146 and the Internet gateway1134 contained in the data plane VCN 1118. The trusted app subnet(s)1160 can be communicatively coupled to the service gateway 1136contained in the data plane VCN 1118, the NAT gateway 1138 contained inthe data plane VCN 1118, and DB subnet(s) 1130 contained in the dataplane data tier 1150. The untrusted app subnet(s) 1162 can becommunicatively coupled to the service gateway 1136 contained in thedata plane VCN 1118 and DB subnet(s) 1130 contained in the data planedata tier 1150. The data plane data tier 1150 can include DB subnet(s)1130 that can be communicatively coupled to the service gateway 1136contained in the data plane VCN 1118.

The untrusted app subnet(s) 1162 can include primary VNICs 1164(1)-(N)that can be communicatively coupled to tenant virtual machines (VMs)1166(1)-(N) residing within the untrusted app subnet(s) 1162. Eachtenant VM 1166(1)-(N) can run code in a respective container1167(1)-(N), and be communicatively coupled to an app subnet 1126 thatcan be contained in a data plane app tier 1146 that can be contained ina container egress VCN 1168. Respective secondary VNICs 1172(1)-(N) canfacilitate communication between the untrusted app subnet(s) 1162contained in the data plane VCN 1118 and the app subnet contained in thecontainer egress VCN 1168. The container egress VCN can include a NATgateway 1138 that can be communicatively coupled to public Internet 1154(e.g. public Internet 854 of FIG. 8 ).

The Internet gateway 1134 contained in the control plane VCN 1116 andcontained in the data plane VCN 1118 can be communicatively coupled to ametadata management service 1152 (e.g. the metadata management system852 of FIG. 8 ) that can be communicatively coupled to public Internet1154. Public Internet 1154 can be communicatively coupled to the NATgateway 1138 contained in the control plane VCN 1116 and contained inthe data plane VCN 1118. The service gateway 1136 contained in thecontrol plane VCN 1116 and contained in the data plane VCN 1118 can becommunicatively couple to cloud services 1156.

In some examples, the pattern illustrated by the architecture of blockdiagram 1100 of FIG. 11 may be considered an exception to the patternillustrated by the architecture of block diagram 1000 of FIG. 10 and maybe desirable for a customer of the IaaS provider if the IaaS providercannot directly communicate with the customer (e.g., a disconnectedregion). The respective containers 1167(1)-(N) that are contained in theVMs 1166(1)-(N) for each customer can be accessed in real-time by thecustomer. The containers 1167(1)-(N) may be configured to make calls torespective secondary VNICs 1172(1)-(N) contained in app subnet(s) 1126of the data plane app tier 1146 that can be contained in the containeregress VCN 1168. The secondary VNICs 1172(1)-(N) can transmit the callsto the NAT gateway 1138 that may transmit the calls to public Internet1154. In this example, the containers 1167(1)-(N) that can be accessedin real-time by the customer can be isolated from the control plane VCN1116 and can be isolated from other entities contained in the data planeVCN 1118. The containers 1167(1)-(N) may also be isolated from resourcesfrom other customers.

In other examples, the customer can use the containers 1167(1)-(N) tocall cloud services 1156. In this example, the customer may run code inthe containers 1167(1)-(N) that requests a service from cloud services1156. The containers 1167(1)-(N) can transmit this request to thesecondary VNICs 1172(1)-(N) that can transmit the request to the NATgateway that can transmit the request to public Internet 1154. PublicInternet 1154 can transmit the request to LB subnet(s) 1122 contained inthe control plane VCN 1116 via the Internet gateway 1134. In response todetermining the request is valid, the LB subnet(s) can transmit therequest to app subnet(s) 1126 that can transmit the request to cloudservices 1156 via the service gateway 1136.

It should be appreciated that IaaS architectures 800, 900, 1000, 1100depicted in the figures may have other components than those depicted.Further, the embodiments shown in the figures are only some examples ofa cloud infrastructure system that may incorporate an embodiment of thedisclosure. In some other embodiments, the IaaS systems may have more orfewer components than shown in the figures, may combine two or morecomponents, or may have a different configuration or arrangement ofcomponents.

In certain embodiments, the IaaS systems described herein may include asuite of applications, middleware, and database service offerings thatare delivered to a customer in a self-service, subscription-based,elastically scalable, reliable, highly available, and secure manner. Anexample of such an IaaS system is the Oracle Cloud Infrastructure (OCI)provided by the present assignee.

FIG. 12 illustrates an example computer system 1200, in which variousembodiments may be implemented. The system 1200 may be used to implementany of the computer systems described above. As shown in the figure,computer system 1200 includes a processing unit 1204 that communicateswith a number of peripheral subsystems via a bus subsystem 1202. Theseperipheral subsystems may include a processing acceleration unit 1206,an I/O subsystem 1208, a storage subsystem 1218 and a communicationssubsystem 1224. Storage subsystem 1218 includes tangiblecomputer-readable storage media 1222 and a system memory 1210.

Bus subsystem 1202 provides a mechanism for letting the variouscomponents and subsystems of computer system 1200 communicate with eachother as intended. Although bus subsystem 1202 is shown schematically asa single bus, alternative embodiments of the bus subsystem may utilizemultiple buses. Bus subsystem 1202 may be any of several types of busstructures including a memory bus or memory controller, a peripheralbus, and a local bus using any of a variety of bus architectures. Forexample, such architectures may include an Industry StandardArchitecture (ISA) bus, Micro Channel Architecture (MCA) bus, EnhancedISA (EISA) bus, Video Electronics Standards Association (VESA) localbus, and Peripheral Component Interconnect (PCI) bus, which can beimplemented as a Mezzanine bus manufactured to the IEEE P1386.1standard.

Processing unit 1204, which can be implemented as one or more integratedcircuits (e.g., a conventional microprocessor or microcontroller),controls the operation of computer system 1200. One or more processorsmay be included in processing unit 1204. These processors may includesingle core or multicore processors. In certain embodiments, processingunit 1204 may be implemented as one or more independent processing units1232 and/or 1234 with single or multicore processors included in eachprocessing unit. In other embodiments, processing unit 1204 may also beimplemented as a quad-core processing unit formed by integrating twodual-core processors into a single chip.

In various embodiments, processing unit 1204 can execute a variety ofprograms in response to program code and can maintain multipleconcurrently executing programs or processes. At any given time, some orall of the program code to be executed can be resident in processingunit 1204 and/or in storage subsystem 1218. Through suitableprogramming, processing unit 1204 can provide various functionalitiesdescribed above. Computer system 1200 may additionally include aprocessing acceleration unit 1206, which can include a digital signalprocessor (DSP), a special-purpose processor, and/or the like.

I/O subsystem 1208 may include user interface input devices and userinterface output devices. User interface input devices may include akeyboard, pointing devices such as a mouse or trackball, a touchpad ortouch screen incorporated into a display, a scroll wheel, a click wheel,a dial, a button, a switch, a keypad, audio input devices with voicecommand recognition systems, microphones, and other types of inputdevices. User interface input devices may include, for example, motionsensing and/or gesture recognition devices such as the Microsoft Kinect®motion sensor that enables users to control and interact with an inputdevice, such as the Microsoft Xbox® 360 game controller, through anatural user interface using gestures and spoken commands. Userinterface input devices may also include eye gesture recognition devicessuch as the Google Glass® blink detector that detects eye activity(e.g., ‘blinking’ while taking pictures and/or making a menu selection)from users and transforms the eye gestures as input into an input device(e.g., Google Glass®). Additionally, user interface input devices mayinclude voice recognition sensing devices that enable users to interactwith voice recognition systems (e.g., Siri® navigator), through voicecommands.

User interface input devices may also include, without limitation, threedimensional (3D) mice, joysticks or pointing sticks, gamepads andgraphic tablets, and audio/visual devices such as speakers, digitalcameras, digital camcorders, portable media players, webcams, imagescanners, fingerprint scanners, barcode reader 3D scanners, 3D printers,laser rangefinders, and eye gaze tracking devices. Additionally, userinterface input devices may include, for example, medical imaging inputdevices such as computed tomography, magnetic resonance imaging,position emission tomography, medical ultrasonography devices. Userinterface input devices may also include, for example, audio inputdevices such as MIDI keyboards, digital musical instruments and thelike.

User interface output devices may include a display subsystem, indicatorlights, or non-visual displays such as audio output devices, etc. Thedisplay subsystem may be a cathode ray tube (CRT), a flat-panel device,such as that using a liquid crystal display (LCD) or plasma display, aprojection device, a touch screen, and the like. In general, use of theterm “output device” is intended to include all possible types ofdevices and mechanisms for outputting information from computer system1200 to a user or other computer. For example, user interface outputdevices may include, without limitation, a variety of display devicesthat visually convey text, graphics and audio/video information such asmonitors, printers, speakers, headphones, automotive navigation systems,plotters, voice output devices, and modems.

Computer system 1200 may comprise a storage subsystem 1218 thatcomprises software elements, shown as being currently located within asystem memory 1210. System memory 1210 may store program instructionsthat are loadable and executable on processing unit 1204, as well asdata generated during the execution of these programs.

Depending on the configuration and type of computer system 1200, systemmemory 1210 may be volatile (such as random access memory (RAM)) and/ornon-volatile (such as read-only memory (ROM), flash memory, etc.) TheRAM typically contains data and/or program modules that are immediatelyaccessible to and/or presently being operated and executed by processingunit 1204. In some implementations, system memory 1210 may includemultiple different types of memory, such as static random access memory(SRAM) or dynamic random access memory (DRAM). In some implementations,a basic input/output system (BIOS), containing the basic routines thathelp to transfer information between elements within computer system1200, such as during start-up, may typically be stored in the ROM. Byway of example, and not limitation, system memory 1210 also illustratesapplication programs 1212, which may include client applications, Webbrowsers, mid-tier applications, relational database management systems(RDBMS), etc., program data 1214, and an operating system 1216. By wayof example, operating system 1216 may include various versions ofMicrosoft Windows®, Apple Macintosh®, and/or Linux operating systems, avariety of commercially-available UNIX® or UNIX-like operating systems(including without limitation the variety of GNU/Linux operatingsystems, the Google Chrome® OS, and the like) and/or mobile operatingsystems such as iOS, Windows® Phone, Android® OS, BlackBerry® 12 OS, andPalm® OS operating systems.

Storage subsystem 1218 may also provide a tangible computer-readablestorage medium for storing the basic programming and data constructsthat provide the functionality of some embodiments. Software (programs,code modules, instructions) that when executed by a processor providethe functionality described above may be stored in storage subsystem1218. These software modules or instructions may be executed byprocessing unit 1204. Storage subsystem 1218 may also provide arepository for storing data used in accordance with the presentdisclosure.

Storage subsystem 1218 may also include a computer-readable storagemedia reader 1220 that can further be connected to computer-readablestorage media 1222. Together and, optionally, in combination with systemmemory 1210, computer-readable storage media 1222 may comprehensivelyrepresent remote, local, fixed, and/or removable storage devices plusstorage media for temporarily and/or more permanently containing,storing, transmitting, and retrieving computer-readable information.

Computer-readable storage media 1222 containing code, or portions ofcode, can also include any appropriate media known or used in the art,including storage media and communication media, such as but not limitedto, volatile and non-volatile, removable and non-removable mediaimplemented in any method or technology for storage and/or transmissionof information. This can include tangible computer-readable storagemedia such as RAM, ROM, electronically erasable programmable ROM(EEPROM), flash memory or other memory technology, CD-ROM, digitalversatile disk (DVD), or other optical storage, magnetic cassettes,magnetic tape, magnetic disk storage or other magnetic storage devices,or other tangible computer readable media. This can also includenontangible computer-readable media, such as data signals, datatransmissions, or any other medium which can be used to transmit thedesired information and which can be accessed by computing system 1200.

By way of example, computer-readable storage media 1222 may include ahard disk drive that reads from or writes to non-removable, nonvolatilemagnetic media, a magnetic disk drive that reads from or writes to aremovable, nonvolatile magnetic disk, and an optical disk drive thatreads from or writes to a removable, nonvolatile optical disk such as aCD ROM, DVD, and Blu-Ray® disk, or other optical media.Computer-readable storage media 1222 may include, but is not limited to,Zip® drives, flash memory cards, universal serial bus (USB) flashdrives, secure digital (SD) cards, DVD disks, digital video tape, andthe like. Computer-readable storage media 1222 may also include,solid-state drives (SSD) based on non-volatile memory such asflash-memory based SSDs, enterprise flash drives, solid state ROM, andthe like, SSDs based on volatile memory such as solid state RAM, dynamicRAM, static RAM, DRAM-based SSDs, magnetoresistive RAM (MRAM) SSDs, andhybrid SSDs that use a combination of DRAM and flash memory based SSDs.The disk drives and their associated computer-readable media may providenon-volatile storage of computer-readable instructions, data structures,program modules, and other data for computer system 1200.

Communications subsystem 1224 provides an interface to other computersystems and networks. Communications subsystem 1224 serves as aninterface for receiving data from and transmitting data to other systemsfrom computer system 1200. For example, communications subsystem 1224may enable computer system 1200 to connect to one or more devices viathe Internet. In some embodiments communications subsystem 1224 caninclude radio frequency (RF) transceiver components for accessingwireless voice and/or data networks (e.g., using cellular telephonetechnology, advanced data network technology, such as 3G, 4G or EDGE(enhanced data rates for global evolution), WiFi (IEEE 802.11 familystandards, or other mobile communication technologies, or anycombination thereof), global positioning system (GPS) receivercomponents, and/or other components. In some embodiments communicationssubsystem 1224 can provide wired network connectivity (e.g., Ethernet)in addition to or instead of a wireless interface.

In some embodiments, communications subsystem 1224 may also receiveinput communication in the form of structured and/or unstructured datafeeds 1226, event streams 1228, event updates 1230, and the like onbehalf of one or more users who may use computer system 1200.

By way of example, communications subsystem 1224 may be configured toreceive data feeds 1226 in real-time from users of social networksand/or other communication services such as Twitter® feeds, Facebook®updates, web feeds such as Rich Site Summary (RSS) feeds, and/orreal-time updates from one or more third party information sources.

Additionally, communications subsystem 1224 may also be configured toreceive data in the form of continuous data streams, which may includeevent streams 1228 of real-time events and/or event updates 1230, thatmay be continuous or unbounded in nature with no explicit end. Examplesof applications that generate continuous data may include, for example,sensor data applications, financial tickers, network performancemeasuring tools (e.g. network monitoring and traffic managementapplications), clickstream analysis tools, automobile trafficmonitoring, and the like.

Communications subsystem 1224 may also be configured to output thestructured and/or unstructured data feeds 1226, event streams 1228,event updates 1230, and the like to one or more databases that may be incommunication with one or more streaming data source computers coupledto computer system 1200.

Computer system 1200 can be one of various types, including a handheldportable device (e.g., an iPhone® cellular phone, an iPad® computingtablet, a PDA), a wearable device (e.g., a Google Glass® head mounteddisplay), a PC, a workstation, a mainframe, a kiosk, a server rack, orany other data processing system.

Due to the ever-changing nature of computers and networks, thedescription of computer system 1200 depicted in the figure is intendedonly as a specific example. Many other configurations having more orfewer components than the system depicted in the figure are possible.For example, customized hardware might also be used and/or particularelements might be implemented in hardware, firmware, software (includingapplets), or a combination. Further, connection to other computingdevices, such as network input/output devices, may be employed. Based onthe disclosure and teachings provided herein, a person of ordinary skillin the art will appreciate other ways and/or methods to implement thevarious embodiments.

Although specific embodiments have been described, variousmodifications, alterations, alternative constructions, and equivalentsare also encompassed within the scope of the disclosure. Embodiments arenot restricted to operation within certain specific data processingenvironments, but are free to operate within a plurality of dataprocessing environments. Additionally, although embodiments have beendescribed using a particular series of transactions and steps, it shouldbe apparent to those skilled in the art that the scope of the presentdisclosure is not limited to the described series of transactions andsteps. Various features and aspects of the above-described embodimentsmay be used individually or jointly.

Further, while embodiments have been described using a particularcombination of hardware and software, it should be recognized that othercombinations of hardware and software are also within the scope of thepresent disclosure. Embodiments may be implemented only in hardware, oronly in software, or using combinations thereof. The various processesdescribed herein can be implemented on the same processor or differentprocessors in any combination. Accordingly, where components or modulesare described as being configured to perform certain operations, suchconfiguration can be accomplished, e.g., by designing electroniccircuits to perform the operation, by programming programmableelectronic circuits (such as microprocessors) to perform the operation,or any combination thereof. Processes can communicate using a variety oftechniques including but not limited to conventional techniques forinter process communication, and different pairs of processes may usedifferent techniques, or the same pair of processes may use differenttechniques at different times.

The specification and drawings are, accordingly, to be regarded in anillustrative rather than a restrictive sense. It will, however, beevident that additions, subtractions, deletions, and other modificationsand changes may be made thereunto without departing from the broaderspirit and scope as set forth in the claims. Thus, although specificdisclosure embodiments have been described, these are not intended to belimiting. Various modifications and equivalents are within the scope ofthe following claims.

The use of the terms “a” and “an” and “the” and similar referents in thecontext of describing the disclosed embodiments (especially in thecontext of the following claims) are to be construed to cover both thesingular and the plural, unless otherwise indicated herein or clearlycontradicted by context. The terms “comprising,” “having,” “including,”and “containing” are to be construed as open-ended terms (i.e., meaning“including, but not limited to,”) unless otherwise noted. The term“connected” is to be construed as partly or wholly contained within,attached to, or joined together, even if there is something intervening.Recitation of ranges of values herein are merely intended to serve as ashorthand method of referring individually to each separate valuefalling within the range, unless otherwise indicated herein and eachseparate value is incorporated into the specification as if it wereindividually recited herein. All methods described herein can beperformed in any suitable order unless otherwise indicated herein orotherwise clearly contradicted by context. The use of any and allexamples, or exemplary language (e.g., “such as”) provided herein, isintended merely to better illuminate embodiments and does not pose alimitation on the scope of the disclosure unless otherwise claimed. Nolanguage in the specification should be construed as indicating anynon-claimed element as essential to the practice of the disclosure.

Disjunctive language such as the phrase “at least one of X, Y, or Z,”unless specifically stated otherwise, is intended to be understoodwithin the context as used in general to present that an item, term,etc., may be either X, Y, or Z, or any combination thereof (e.g., X, Y,and/or Z). Thus, such disjunctive language is not generally intended to,and should not, imply that certain embodiments require at least one ofX, at least one of Y, or at least one of Z to each be present.

Preferred embodiments of this disclosure are described herein, includingthe best mode known for carrying out the disclosure. Variations of thosepreferred embodiments may become apparent to those of ordinary skill inthe art upon reading the foregoing description. Those of ordinary skillshould be able to employ such variations as appropriate and thedisclosure may be practiced otherwise than as specifically describedherein. Accordingly, this disclosure includes all modifications andequivalents of the subject matter recited in the claims appended heretoas permitted by applicable law. Moreover, any combination of theabove-described elements in all possible variations thereof isencompassed by the disclosure unless otherwise indicated herein.

All references, including publications, patent applications, andpatents, cited herein are hereby incorporated by reference to the sameextent as if each reference were individually and specifically indicatedto be incorporated by reference and were set forth in its entiretyherein.

In the foregoing specification, aspects of the disclosure are describedwith reference to specific embodiments thereof, but those skilled in theart will recognize that the disclosure is not limited thereto. Variousfeatures and aspects of the above-described disclosure may be usedindividually or jointly. Further, embodiments can be utilized in anynumber of environments and applications beyond those described hereinwithout departing from the broader spirit and scope of thespecification. The specification and drawings are, accordingly, to beregarded as illustrative rather than restrictive.

What is claimed is:
 1. A computer-implemented method, comprising:receiving, by a computing component of a cloud computing environment andfrom a requesting computing component, change request data indicating arequested change to an attribute of a virtual machine compute instanceof the cloud computing environment; obtaining a first state objectcomprising a first set of attributes indicating a current state of thevirtual machine compute instance; deriving, by the computing component,a second state object of the virtual machine compute instance based atleast in part on the requested change and the first state object;calculating, by the computing component, a first hash value based atleast in part on a first subset of attributes of a second set ofattributes of the second state object; updating, by the computingcomponent, the first state object based at least in part on executingthe requested change to the virtual machine compute instance;calculating, by the computing component, a second hash value based atleast in part on a second subset of the first set of attributes of thefirst state object; and transmitting, by the computing component to therequesting computing component, the first hash value and the second hashvalue, the requesting computing component being configured to comparethe first hash value and the second hash value to verify that therequested change has been implemented at the virtual machine computeinstance.
 2. The computer-implemented method of claim 1, wherein eachattribute of the first set of attributes of the first state object andeach attribute of the second set of attributes of the second stateobject individually comprise an attribute identifier and a valuecorresponding to the attribute identifier.
 3. The computer-implementedmethod of claim 1, further comprising identifying the first subset ofattributes from the second set of attributes of the second state objectbased at least in part on mapping between the requesting computingcomponent and one or more attribute identifiers.
 4. Thecomputer-implemented method of claim 1, wherein the requesting computingcomponent is a control plane component of the cloud computingenvironment, and wherein the computing component is a management planecomponent of the cloud computing system.
 5. The computer-implementedmethod of claim 1, further comprising: receiving, by the computingcomponent from a different requesting computing component, a secondchange request indicating a second requested change to one or moreattributes of the virtual machine compute instance; deriving, by thecomputing component, a third state object of the virtual machine computeinstance based at least in part on the first state object and the secondrequested change; calculating, by the computing component, a third hashvalue based at least in part on a third subset of attributes of a thirdset of attributes of the third state object, the third subset ofattributes having attributes that differ from the first subset ofattributes; and providing, by the computing component to the differentrequesting computing component, the third hash value being configured tobe utilized by the different requesting computing component to verifythat the second requested change has been implemented at the virtualmachine compute instance.
 6. The computer-implemented method of claim 5,further comprising: executing, by the computing component, the secondrequested change to the virtual machine compute instance; updating, bythe computing component, the first state object based at least in parton executing the second requested change to the virtual machine computeinstance; calculating, by the computing component, a fourth hash valuebased at least in part on a fourth subset of attributes of the first setof attributes of the first state object, the fourth subset of attributeshaving attributes that differ from the second subset of the first set ofattributes; and providing, by the computing component to the differentrequesting computing component, the fourth hash value, the fourth hashvalue being configured to be utilized by the different requestingcomputing component to verify that the second requested change has beenimplemented at the virtual machine compute instance.
 7. Thecomputer-implemented method of claim 1, wherein the second state objectrepresents a desired state of the virtual machine compute instance afterthe requested change is made to the virtual machine compute instance. 8.A computing device of a cloud computing environment, the computingdevice, comprising; a processing device communicatively coupled to anon-transitory computer-readable medium storing computer-executableprogram instructions that, when executed by the processing device, causethe computing device to: receive, from a requesting computing component,change request data indicating a requested change to an attribute of avirtual machine compute instance of the cloud computing environment;obtain a first state object comprising a first set of attributesindicating a current state of the virtual machine compute instance;derive a second state object of the virtual machine compute instancebased at least in part on the requested change and the first stateobject; calculate a first hash value based at least in part on a firstsubset of attributes of a second set of attributes of the second stateobject; update the first state object based at least in part onexecuting the requested change to the virtual machine compute instance;calculate a second hash value based at least in part on a second subsetof the first set of attributes of the first state object; and transmit,to the requesting computing component, the first hash value and thesecond hash value, the requesting computing component being configuredto compare the first hash value and the second hash value to verify thatthe requested change has been implemented at the virtual machine computeinstance.
 9. The computing device of claim 8, wherein each attribute ofthe first set of attributes of the first state object and each attributeof the second set of attributes of the second state object individuallycomprise an attribute identifier and a value corresponding to theattribute identifier.
 10. The computing device of claim 8, whereinexecuting the instructions further causes the computing device toidentify the first subset of attributes from the second set ofattributes of the second state object based at least in part on mappingbetween the requesting computing component and one or more attributeidentifiers.
 11. The computing device of claim 8, wherein the requestingcomputing component is a control plane component of the cloud computingenvironment, and wherein the computing component is a management planecomponent of the cloud computing environment.
 12. The computing deviceof claim 8, wherein executing the instructions further causes thecomputing device to: receive, from a different requesting computingcomponent, a second change request indicating a second requested changeto one or more attributes of the virtual machine compute instance;derive a third state object of the virtual machine compute instancebased at least in part on the first state object and the secondrequested change; calculate a third hash value based at least in part ona third subset of attributes of a third set of attributes of the thirdstate object, the third subset of attributes having attributes thatdiffer from the first subset of attributes; and provide, to thedifferent requesting computing component, the third hash value beingconfigured to be utilized by the different requesting computingcomponent to verify that the second requested change has beenimplemented at the virtual machine compute instance.
 13. The computingdevice of claim 12, wherein executing the instructions further causesthe computing device to: execute the second requested change to thevirtual machine compute instance; update the first state object based atleast in part on executing the second requested change to the virtualmachine compute instance; calculate a fourth hash value based at leastin part on a fourth subset of attributes of the first set of attributesof the first state object, the fourth subset of attributes havingattributes that differ from the second subset of the first set ofattributes; and provide, to the different requesting computingcomponent, the fourth hash value, the fourth hash value being configuredto be utilized by the different requesting computing component to verifythat the second requested change has been implemented at the virtualmachine compute instance.
 14. The computing device of claim 8, whereinthe second state object represents a desired state of the virtualmachine compute instance after the requested change is made to thevirtual machine compute instance.
 15. A non-transitory computer-readablestorage medium storing computer-executable program instructions that,when executed by a processing device of a computing device, cause thecomputing device to: receive, from a requesting computing component,change request data indicating a requested change to an attribute of avirtual machine compute instance of a cloud computing environment;obtain a first state object comprising a first set of attributesindicating a current state of the virtual machine compute instance;derive a second state object of the virtual machine compute instancebased at least in part on the requested change and the first stateobject; calculate a first hash value based at least in part on a firstsubset of attributes of a second set of attributes of the second stateobject; update the first state object based at least in part onexecuting the requested change to the virtual machine compute instance;calculate a second hash value based at least in part on a second subsetof the first set of attributes of the first state object; and transmit,to the requesting computing component, the first hash value and thesecond hash value, the requesting computing component being configuredto compare the first hash value and the second hash value to verify thatthe requested change has been implemented at the virtual machine computeinstance.
 16. The non-transitory computer-readable storage medium ofclaim 15, wherein each attribute of the first set of attributes of thefirst state object and each attribute of the second set of attributes ofthe second state object individually comprise an attribute identifierand a value corresponding to the attribute identifier.
 17. Thenon-transitory computer-readable storage medium of claim 15, whereinexecuting the instructions further causes the computing device toidentify the first subset of attributes from the second set ofattributes of the second state object based at least in part on mappingbetween the requesting computing component and one or more attributeidentifiers.
 18. The non-transitory computer-readable storage medium ofclaim 15, wherein the requesting computing component is a control planecomponent of a cloud computing system, and wherein the computingcomponent is a management plane component of the cloud computing system.19. The non-transitory computer-readable storage medium of claim 15,wherein executing the instructions further causes the computing deviceto: receive, from a different requesting computing component, a secondchange request indicating a second requested change to one or moreattributes of the virtual machine compute instance; derive a third stateobject of the virtual machine compute instance based at least in part onthe first state object and the second requested change; calculate athird hash value based at least in part on a third subset of attributesof a third set of attributes of the third state object, the third subsetof attributes having attributes that differ from the first subset ofattributes; and provide, to the different requesting computingcomponent, the third hash value being configured to be utilized by thedifferent requesting computing component to verify that the secondrequested change has been implemented at the virtual machine computeinstance.
 20. The non-transitory computer-readable storage medium ofclaim 15, wherein the second state object represents a desired state ofthe virtual machine compute instance after the requested change is madeto the virtual machine compute instance.